package com.qfmy.model.entity.novel;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author 清风明月
 * @Package com.qfmy.model.entity
 * @date 2025/4/13
 * @description 作者实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings("all")
public class Author {
    @Schema(description = "作者ID")
    private Integer authorId;
    
    @Schema(description = "作者真实姓名")
    private String authorName;
    
    @Schema(description = "作者笔名")
    private String penName;
    
    @Schema(description = "作者简介")
    private String introduction;
    
    @Schema(description = "作者头像的存储路径或URL")
    private String avatar;
    
    @Schema(description = "作者的联系方式")
    private String contactInfo;
    
    @Schema(description = "作者入驻平台的时间")
    private Date joinTime;
}